package com.imcreator.icchat.Objects;

import java.net.Socket;

import com.imcreator.icchat.ServerThreads.ClientThread;

public class Client {

    Socket socket;
    String name;
    ClientThread clientThread;

    public Client(Socket socket, String name, ClientThread clientThread) {
        this.socket = socket;
        this.name = name;
        this.clientThread = clientThread;
    }

    public Socket getSocket() {
        return socket;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ClientThread getClientThread() {
        return clientThread;
    }
}
